package mr.zhang.dao.domain;

import java.util.List;

/**
 * Merchant entity. @author MyEclipse Persistence Tools
 */

public class Merchant implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Integer id;

	private String merchant_name;

	private String merchant_address;

	private String merchant_cellphone;

	private String merchant_email;

	private String merchant_local_x;

	private String merchant_local_y;

	private String merchant_QQ;

	private String merchant_weixin;

	private List<MerchantProperty> list;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMerchant_name() {
		return merchant_name;
	}

	public void setMerchant_name(String merchant_name) {
		this.merchant_name = merchant_name;
	}

	public String getMerchant_address() {
		return merchant_address;
	}

	public void setMerchant_address(String merchant_address) {
		this.merchant_address = merchant_address;
	}

	public String getMerchant_cellphone() {
		return merchant_cellphone;
	}

	public void setMerchant_cellphone(String merchant_cellphone) {
		this.merchant_cellphone = merchant_cellphone;
	}

	public String getMerchant_email() {
		return merchant_email;
	}

	public void setMerchant_email(String merchant_email) {
		this.merchant_email = merchant_email;
	}

	public String getMerchant_local_x() {
		return merchant_local_x;
	}

	public void setMerchant_local_x(String merchant_local_x) {
		this.merchant_local_x = merchant_local_x;
	}

	public String getMerchant_local_y() {
		return merchant_local_y;
	}

	public void setMerchant_local_y(String merchant_local_y) {
		this.merchant_local_y = merchant_local_y;
	}

	public String getMerchant_QQ() {
		return merchant_QQ;
	}

	public void setMerchant_QQ(String merchant_QQ) {
		this.merchant_QQ = merchant_QQ;
	}

	public String getMerchant_weixin() {
		return merchant_weixin;
	}

	public void setMerchant_weixin(String merchant_weixin) {
		this.merchant_weixin = merchant_weixin;
	}

	public List<MerchantProperty> getList() {
		return list;
	}

	public void setList(List<MerchantProperty> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Merchant[id=" + id
				+ ", merchant_name=" + merchant_name
				+ ", merchant_address=" + merchant_address
				+ ", merchant_cellphone=" + merchant_cellphone
				+ ", merchant_email=" + merchant_email
				+ ", merchant_local_x="+ merchant_local_x 
				+ ", merchant_local_y=" + merchant_local_y
				+ ", merchant_QQ=" + merchant_QQ 
				+ ", merchant_weixin="+ merchant_weixin 
				+ "]";
	}

}